package com.urfresh.sp.flume.dto.v2;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;

/**
 * Created by urfresh.mark on 2016/10/10.
 */
public class Products {

    @JSONField(ordinal = 8)
    @ApiModelProperty(value = "商品金额", required = true)
    String amount;

    @JSONField(ordinal = 9)
    @ApiModelProperty(value = "商品数量", required = true)
    String count;

    @JSONField(ordinal = 10)
    @ApiModelProperty(value = "商品id", required = true)
    String productId;


    public Products() {
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public Products(String productId, String amount, String count) {
        this.productId = productId;
        this.amount = amount;
        this.count = count;
    }
}
